Search results
239 packages found
Flatry converting promise or function to flat array response. Inspired by golang style error handling without try/catch.
ftry converts a promise or function call to a 2-tuple response. Inspired by golang style error handling without try/catch.
Catch errors in a pull stream
The official Elastic APM agent for Node.js
- opbeat
- elastic
- elasticapm
- elasticsearch
- log
- logging
- bug
- bugs
- error
- errors
- exception
- exceptions
- catch
- monitor
- View more
Tries to execute a function and discards any error that occurs
Tries to execute a sync/async function, returns a result tuple
An alternative library for try-catch blocks, helps reduce the code and make it cleaner and more readable using anonymous functions.
a Painless error library, naming error and matching them easily
Transient exception handling
通过装饰器或包裹的形式捕获异常
Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call
Basic wrapper for await that allows handling of errors without try/catch blocks
Error3 is proper JS error implementation. It supports error codes, message formatting (e.g. i18n) and nested errors.
Set of methods allowing simplify work with promises in cycle such as: forEach, map, find, filter, reduce, while, transform. Besides there are methods for comfortable work with promises or asynchronous operations - all, retry, timeout.
- promise
- promises
- performance
- async
- await
- deferred
- deferreds
- future
- flow control
- fluent interface
- promise methods
- foreach
- reduce
- filter
- View more
An elegant try-catch replacement for JavaScript / TypeScript
Catch me if you can
An asynchronous domain-based exception handler with long stack traces for node.js
An implementation of Domain-like error handling, built on async_hooks
- async
- hooks
- async_hooks
- domain
- error
- handling
- handler
- uncaughtException
- unhandledRejection
- catch
- promise
- execution
- context
Wrap `require` in a try/catch block.
The Result and Option type from Rust ported to TypeScript.